﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="UserDataSet" targetNamespace="http://tempuri.org/UserDataSet.xsd" xmlns:mstns="http://tempuri.org/UserDataSet.xsd" xmlns="http://tempuri.org/UserDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="TafitiConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="TafitiConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.WLQuickApps.Tafiti.Data.Properties.Settings.GlobalReference.Default.TafitiConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UsersTableAdapter" GeneratorDataComponentClassName="UsersTableAdapter" Name="Users" UserDataComponentName="UsersTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.Users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Users] WHERE (([UserID] = @Original_UserID) AND ([EmailCount] = @Original_EmailCount) AND ([EmailCountTimestamp] = @Original_EmailCountTimestamp) AND ([LastLogin] = @Original_LastLogin) AND ([EmailHash] = @Original_EmailHash) AND ([DisplayName] = @Original_DisplayName) AND ([MessengerPresenceID] = @Original_MessengerPresenceID) AND ([AlwaysSendMessages] = @Original_AlwaysSendMessages))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmailCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailCount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EmailCountTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EmailCountTimestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastLogin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLogin" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_EmailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DisplayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MessengerPresenceID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MessengerPresenceID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_AlwaysSendMessages" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AlwaysSendMessages" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Users] ([UserID], [EmailCount], [EmailCountTimestamp], [LastLogin], [EmailHash], [DisplayName], [MessengerPresenceID], [AlwaysSendMessages]) VALUES (@UserID, @EmailCount, @EmailCountTimestamp, @LastLogin, @EmailHash, @DisplayName, @MessengerPresenceID, @AlwaysSendMessages);
SELECT UserID, EmailCount, EmailCountTimestamp, LastLogin, EmailHash, DisplayName, MessengerPresenceID, AlwaysSendMessages FROM Users WHERE (UserID = @UserID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmailCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EmailCountTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EmailCountTimestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastLogin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@EmailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DisplayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MessengerPresenceID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MessengerPresenceID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@AlwaysSendMessages" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AlwaysSendMessages" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        UserID, EmailCount, EmailCountTimestamp, LastLogin, EmailHash, DisplayName, MessengerPresenceID, AlwaysSendMessages
FROM            Users</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Users] SET [UserID] = @UserID, [EmailCount] = @EmailCount, [EmailCountTimestamp] = @EmailCountTimestamp, [LastLogin] = @LastLogin, [EmailHash] = @EmailHash, [DisplayName] = @DisplayName, [MessengerPresenceID] = @MessengerPresenceID, [AlwaysSendMessages] = @AlwaysSendMessages WHERE (([UserID] = @Original_UserID) AND ([EmailCount] = @Original_EmailCount) AND ([EmailCountTimestamp] = @Original_EmailCountTimestamp) AND ([LastLogin] = @Original_LastLogin) AND ([EmailHash] = @Original_EmailHash) AND ([DisplayName] = @Original_DisplayName) AND ([MessengerPresenceID] = @Original_MessengerPresenceID) AND ([AlwaysSendMessages] = @Original_AlwaysSendMessages));
SELECT UserID, EmailCount, EmailCountTimestamp, LastLogin, EmailHash, DisplayName, MessengerPresenceID, AlwaysSendMessages FROM Users WHERE (UserID = @UserID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@EmailCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EmailCountTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EmailCountTimestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastLogin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@EmailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DisplayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MessengerPresenceID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MessengerPresenceID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@AlwaysSendMessages" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AlwaysSendMessages" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmailCount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmailCount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EmailCountTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EmailCountTimestamp" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastLogin" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="LastLogin" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_EmailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DisplayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MessengerPresenceID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MessengerPresenceID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_AlwaysSendMessages" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="AlwaysSendMessages" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
              <Mapping SourceColumn="EmailCount" DataSetColumn="EmailCount" />
              <Mapping SourceColumn="EmailCountTimestamp" DataSetColumn="EmailCountTimestamp" />
              <Mapping SourceColumn="LastLogin" DataSetColumn="LastLogin" />
              <Mapping SourceColumn="EmailHash" DataSetColumn="EmailHash" />
              <Mapping SourceColumn="DisplayName" DataSetColumn="DisplayName" />
              <Mapping SourceColumn="MessengerPresenceID" DataSetColumn="MessengerPresenceID" />
              <Mapping SourceColumn="AlwaysSendMessages" DataSetColumn="AlwaysSendMessages" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorGetMethodName="GetDataBy" GeneratorSourceName="CreateUser" Modifier="Public" Name="CreateUser" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="CreateUser">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>INSERT INTO [dbo].[Users] (UserID, [DisplayName]) VALUES (@userID, @displayName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="userID" ColumnName="UserID" DataSourceName="Tafiti.dbo.Users" DataTypeServer="char(32)" DbType="AnsiString" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Char" Scale="0" Size="32" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="displayName" ColumnName="DisplayName" DataSourceName="Tafiti.dbo.Users" DataTypeServer="nvarchar(64)" DbType="String" Direction="Input" ParameterName="@displayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="DeleteUser" Modifier="Public" Name="DeleteUser" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="DeleteUser">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>DELETE FROM [dbo].[Users] 
WHERE UserID = @userID</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="userID" ColumnName="UserID" DataSourceName="Tafiti.dbo.Users" DataTypeServer="char(32)" DbType="AnsiString" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Char" Scale="0" Size="32" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetAllUsers" GetMethodModifier="Public" GetMethodName="GetAllUsers" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetAllUsers" UserSourceName="GetAllUsers">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AlwaysSendMessages, DisplayName, EmailCount, EmailCountTimestamp, EmailHash, LastLogin, MessengerPresenceID, UserID FROM Users</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetShelfStackOwners" GeneratorSourceName="FillBy" GetMethodModifier="Public" GetMethodName="GetShelfStackOwners" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetShelfStackOwners" UserSourceName="GetShelfStackOwners">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Users.AlwaysSendMessages, Users.DisplayName, Users.EmailCount, Users.EmailCountTimestamp, Users.EmailHash, Users.LastLogin, Users.MessengerPresenceID, Users.UserID FROM Users INNER JOIN ShelfStackOwners ON Users.UserID = ShelfStackOwners.UserID WHERE (ShelfStackOwners.ShelfStackID = @shelfStackID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="shelfStackID" ColumnName="ShelfStackID" DataSourceName="Tafiti.dbo.ShelfStackOwners" DataTypeServer="uniqueidentifier" DbType="Guid" Direction="Input" ParameterName="@shelfStackID" Precision="0" ProviderType="UniqueIdentifier" Scale="0" Size="16" SourceColumn="ShelfStackID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetUserByEmailHash" GetMethodModifier="Public" GetMethodName="GetUserByEmailHash" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetUserByEmailHash" UserSourceName="GetUserByEmailHash">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AlwaysSendMessages, DisplayName, EmailCount, EmailCountTimestamp, EmailHash, LastLogin, MessengerPresenceID, UserID FROM Users WHERE (EmailHash = @emailHash)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="emailHash" ColumnName="EmailHash" DataSourceName="Tafiti.dbo.Users" DataTypeServer="nvarchar(64)" DbType="String" Direction="Input" ParameterName="@emailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="Tafiti.dbo.Users" DbObjectType="Table" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="GetUserByUserID" GetMethodModifier="Public" GetMethodName="GetUserByUserID" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetUserByUserID" UserSourceName="GetUserByUserID">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AlwaysSendMessages, DisplayName, EmailCount, EmailCountTimestamp, EmailHash, LastLogin, MessengerPresenceID, UserID FROM Users WHERE (UserID = @userID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="userID" ColumnName="UserID" DataSourceName="Tafiti.dbo.Users" DataTypeServer="char(32)" DbType="AnsiString" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Char" Scale="0" Size="32" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="TafitiConnectionString (Settings)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateUser" Modifier="Public" Name="UpdateUser" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="UpdateUser">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [dbo].[Users] SET [EmailCount] = @emailCount, [EmailCountTimestamp] = @emailCountTimestamp, [LastLogin] = @lastLogin, [EmailHash] = @emailHash, [DisplayName] = @displayName, [MessengerPresenceID] = @messengerPresenceID, [AlwaysSendMessages] = @alwaysSendMessages
WHERE (UserID = @userID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="userID" ColumnName="UserID" DataSourceName="Tafiti.dbo.Users" DataTypeServer="char(32)" DbType="AnsiString" Direction="Input" ParameterName="@userID" Precision="0" ProviderType="Char" Scale="0" Size="32" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="emailCount" ColumnName="EmailCount" DataSourceName="Tafiti.dbo.Users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@emailCount" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="EmailCount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="emailCountTimestamp" ColumnName="EmailCountTimestamp" DataSourceName="Tafiti.dbo.Users" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@emailCountTimestamp" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="EmailCountTimestamp" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="lastLogin" ColumnName="LastLogin" DataSourceName="Tafiti.dbo.Users" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@lastLogin" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="LastLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="emailHash" ColumnName="EmailHash" DataSourceName="Tafiti.dbo.Users" DataTypeServer="nvarchar(64)" DbType="String" Direction="Input" ParameterName="@emailHash" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumn="EmailHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="displayName" ColumnName="DisplayName" DataSourceName="Tafiti.dbo.Users" DataTypeServer="nvarchar(64)" DbType="String" Direction="Input" ParameterName="@displayName" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumn="DisplayName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="messengerPresenceID" ColumnName="MessengerPresenceID" DataSourceName="Tafiti.dbo.Users" DataTypeServer="nvarchar(64)" DbType="String" Direction="Input" ParameterName="@messengerPresenceID" Precision="0" ProviderType="NVarChar" Scale="0" Size="64" SourceColumn="MessengerPresenceID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="alwaysSendMessages" ColumnName="AlwaysSendMessages" DataSourceName="Tafiti.dbo.Users" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@alwaysSendMessages" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="AlwaysSendMessages" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="UserDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="UserDataSet" msprop:Generator_DataSetName="UserDataSet" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Users" msprop:Generator_UserTableName="Users" msprop:Generator_RowDeletedName="UsersRowDeleted" msprop:Generator_RowChangedName="UsersRowChanged" msprop:Generator_RowClassName="UsersRow" msprop:Generator_RowChangingName="UsersRowChanging" msprop:Generator_RowEvArgName="UsersRowChangeEvent" msprop:Generator_RowEvHandlerName="UsersRowChangeEventHandler" msprop:Generator_TableClassName="UsersDataTable" msprop:Generator_TableVarName="tableUsers" msprop:Generator_RowDeletingName="UsersRowDeleting" msprop:Generator_TablePropName="Users">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UserID" msprop:Generator_UserColumnName="UserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="32" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmailCount" msprop:Generator_UserColumnName="EmailCount" msprop:Generator_ColumnPropNameInRow="EmailCount" msprop:Generator_ColumnVarNameInTable="columnEmailCount" msprop:Generator_ColumnPropNameInTable="EmailCountColumn" type="xs:int" />
              <xs:element name="EmailCountTimestamp" msprop:Generator_UserColumnName="EmailCountTimestamp" msprop:Generator_ColumnPropNameInRow="EmailCountTimestamp" msprop:Generator_ColumnVarNameInTable="columnEmailCountTimestamp" msprop:Generator_ColumnPropNameInTable="EmailCountTimestampColumn" type="xs:dateTime" />
              <xs:element name="LastLogin" msprop:Generator_UserColumnName="LastLogin" msprop:Generator_ColumnPropNameInRow="LastLogin" msprop:Generator_ColumnVarNameInTable="columnLastLogin" msprop:Generator_ColumnPropNameInTable="LastLoginColumn" type="xs:dateTime" />
              <xs:element name="EmailHash" msprop:Generator_UserColumnName="EmailHash" msprop:Generator_ColumnPropNameInRow="EmailHash" msprop:Generator_ColumnVarNameInTable="columnEmailHash" msprop:Generator_ColumnPropNameInTable="EmailHashColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DisplayName" msprop:Generator_UserColumnName="DisplayName" msprop:Generator_ColumnPropNameInRow="DisplayName" msprop:Generator_ColumnVarNameInTable="columnDisplayName" msprop:Generator_ColumnPropNameInTable="DisplayNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MessengerPresenceID" msprop:Generator_UserColumnName="MessengerPresenceID" msprop:Generator_ColumnPropNameInRow="MessengerPresenceID" msprop:Generator_ColumnVarNameInTable="columnMessengerPresenceID" msprop:Generator_ColumnPropNameInTable="MessengerPresenceIDColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="64" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AlwaysSendMessages" msprop:Generator_UserColumnName="AlwaysSendMessages" msprop:Generator_ColumnPropNameInRow="AlwaysSendMessages" msprop:Generator_ColumnVarNameInTable="columnAlwaysSendMessages" msprop:Generator_ColumnPropNameInTable="AlwaysSendMessagesColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Users" />
      <xs:field xpath="mstns:UserID" />
    </xs:unique>
  </xs:element>
</xs:schema>